<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" sizes="64x64" href="favicon_64.png">
    <title>Audioplayers Test Server</title>
</head>

<style>
    body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-family: sans-serif;
        min-height: 100vh;
        margin: 0;
    }

    p {
        margin-top: 1rem;
        font-size: large;
        max-width: 600px;
    }

    img {
        max-width: 70vw;
    }

    code {
        background: #eee;
        padding: 3px;
    }

    .centerFlex {
        display: flex;
        align-items: center;
    }

    .centerFlex > * {
        padding: 10px;
    }

    #content {
        flex: 1;
    }

    footer {
        background: lightgrey;
        width: 100%;
        justify-content: center;
        align-items: center;
        display: flex;
    }
</style>

<body>
<div id="content">

    <div class="centerFlex">
        <img src="/favicon_64.png" alt="Favicon">
        <h1>Audioplayers Test Server</h1>
    </div>
    <p>This server provides audio files and streams to test <a
            href="https://pub.dev/packages/audioplayers">Audioplayers</a>
        package:</p>
    <ul>
        <li><a href="/files/audio/laser.wav">/files/audio/ambient_c_motion.mp3</a></li>
        <li><a href="/files/audio/coins.wav">/files/audio/coins.wav</a></li>
        <li><a href="/files/audio/laser.wav">/files/audio/laser.wav</a></li>
        <li><a href="/files/audio/nasa_on_a_mission.mp3">/files/audio/nasa_on_a_mission.mp3</a></li>
        <li>
            <a href="/files/live_streams/nasa_power_of_the_rovers.m3u8">/files/live_streams/nasa_power_of_the_rovers.m3u8</a>
        </li>
    </ul>
</div>
<footer>
    <a href="/files/LICENSE">License</a>
</footer>
</body>

</html>
